package com.fdb.efp.nls.service.facade;

import com.fdb.efp.nls.service.vo.SUserDutyVO;
import com.fdb.efp.nls.service.vo.SUserOrgByDutyIdVO;

import java.util.List;

/**
 * <p>Description:系统用户岗位表				<p>
 * @author chenqm1
 * @date 2018-05-03
 */
public interface SUserDutyService {
	
	public List<SUserDutyVO> queryAllOwner(SUserDutyVO sUserDutyVo);
	public List<SUserDutyVO> queryList(SUserDutyVO sUserDutyVo);

	public int insertSUserDuty(SUserDutyVO vo);
	
	public int deleteByPk(SUserDutyVO sUserDutyVo);

	public int updateByPk(SUserDutyVO sUserDutyVo);
	
	public SUserDutyVO queryByPk(SUserDutyVO sUserDutyVo);

	public List<SUserOrgByDutyIdVO> queryLegalUserByDutyIdLeagalId(String dutyCode, String legalOrgCode);
	public List<SUserOrgByDutyIdVO> queryOrgUserByDutyIdOrgId(String dutyCode, String orgCode);
	/**
	 * 根据岗位码查询当前岗位下的用户
	 * @param inVo
	 * @return
	 */
	public List<SUserOrgByDutyIdVO> queryUsersByDuty(SUserDutyVO inVo);
}
